package com.aceitunaproject.shared.message.concrete;

import java.util.List;


/**
 * Message with a chat message
 * 
 * @author Federico Bergstein
 *
 */

public class SendChatMessageRequest extends BaseMessage {


	private static final long serialVersionUID = 6602252447077158942L;
	private String text;
	private List<Long> playerIds;
	
	public static final String TYPE = "SendChatMessageRequest";
	



	public SendChatMessageRequest() {
		super(TYPE);
	}




	/**
	 * @param text the text of the received message
	 */
	public void setText(String text) {
		this.text = text;
	}




	/**
	 * @return the text of the received message
	 */
	public String getText() {
		return text;
	}

	



	/**
	 * @param playerids the  player IDs of the player who will receive the message 
	 */
	public void setPlayerId(List<Long> playerIds) {
		this.playerIds = playerIds;
	}




	/**
	 * @return the player ID of the player who sent the message 
	 */
	public List<Long> getPlayerIds() {
		return playerIds;
	}


	
}
